package cn.oms.manage.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 说明：
 *
 * @author: Fcx
 * @date: 2023/6/17
 **/
@Data
public class DepartmentAddNewParam implements Serializable {

    @ApiModelProperty(value = "科室名称", required = true)
    @NotEmpty(message = "添加科室失败，必须提交科室名称！")
    private String name;

    @ApiModelProperty(value = "科室简介")
    private String description;
}
